package code.google.model.local;

import java.io.InputStream;

import code.google.model.util.interfaces.ISong;

public class LocalSong implements ISong {

	private String path;
	private String album;
	private String artist;
	private String name;
	
	public LocalSong(){
		
	}

//	public LocalSong(Parcel in) {
//		path = in.readString();
//		album = in.readString();
//		artist = in.readString();
//		name = in.readString();
//	}

	@Override
	public String getArtistName() {
		return artist;
	}

	@Override
	public String getAlbumName() {
		return  album;
	}

	@Override
	public String getSongName() {
		return name;
	}

	@Override
	public String getFilePath() {
		return path;
	}

	@Override
	public InputStream getInputStream() {
		return null;
	}

	@Override
	public long getSongID() {
		return -1;
	}

	@Override
	public void setArtistName(String artist) {
		this.artist = artist;
	}

	@Override
	public void setAlbumName(String album) {
		this.album = album;
	}

	@Override
	public void setSongName(String song) {
		this.name = song;
	}

	@Override
	public void setFilePath(String path) {
		this.path = path;
	}

	@Override
	public void setSongID(long id) {

	}

	@Override
	public void setInputStream(InputStream stream) {

	}

	@Override
	public int getStreamClientID() {
		// TODO Auto-generated method stub
		return ISong.CLIENT_LOCAL;
	}

//	@Override
//	public int describeContents() {
//		return this.hashCode();
//	}
//
//	@Override
//	public void writeToParcel(Parcel dest, int flags) {
//		dest.writeString(path);
//		dest.writeString(album);
//		dest.writeString(artist);
//		dest.writeString(name);
//	}
//	
//	public static final Creator<LocalSong> CREATOR = new Parcelable.Creator<LocalSong>() {
//         public LocalSong createFromParcel(Parcel in) {
//             return new LocalSong(in); 
//         }
//
//         public LocalSong[] newArray(int size) {
//             return new LocalSong[size];
//         }
//     };

}
